﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Model;
using SDT.Lib.Paging;
using SDT.Site.Properties;

namespace SDT.Site.ViewModels
{
    public class ShoppingViewModels
    {
    }
    public class CartViewModels
    {
        public IList<ProductInCart> ProductInCarts { get; set; }
        public Customer Customer { get; set; }
        public Order Order { get; set; }
        public IList<OrderDetail> OrderDetails { get; set; }
        public IList<City> Cities { get; set; }
        public IList<District> Districts { get; set; }
        public Dictionary<int, string> Sexuals { get; set; }
        public IList<Payment> Payments { get; set; }
        public string ImageUrl { get; set; }
        public string ImagePath { get; set; }
    }
    public class ProductInCart
    {
        public Product Product { get; set; }
        public int Quantity { get; set; }
    }
    public class DealCartViewModels
    {
        public Product Product { get; set; }
        public int Quantity { get; set; }
        public Customer Customer { get; set; }
        public Order Order { get; set; }
        public IList<OrderDetail> OrderDetails { get; set; }
        public IList<City> Cities { get; set; }
        public IList<District> Districts { get; set; }
        public Dictionary<int, string> Sexuals { get; set; }
        public IList<Payment> Payments { get; set; }
        public string ImageUrl { get; set; }
        public string ImagePath { get; set; }
    }
}
